<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>向量作业管理系统</title>
    <link rel="stylesheet" href="../static/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/home.css">
    <link rel="shortcut icon" href="../resources/favicon.ico" th:href="@{../static/favicon.ico}"/>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header" style="background-color: #20222A">
        <div class="layui-logo"
             style="background-color: #393D49;color: white;height: 210px;border-bottom: 1px solid white">
            <div style="background-color: #393D49;color: #009E94;font-weight: bolder">向量作业管理系统</div>
            <a href="../updateheader.html" id="tip" onmouseenter="tip()">
                <img id="userImg"  src="../static/img/admin.jpg"
                     style="width: 90px;height: 90px" class="layui-nav-img">
            </a>
            <div style="font-size: 10px;text-align: center;height: 15px;margin-bottom: 8px;padding-right: 6px">
             <span th:text="${session.teacher.t_name}"></span>
            </div>
            <div style="font-size: 10px;padding-right: 10px">
                老师您好,欢迎登录
            </div>
        </div>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item">
              <div id="scrollWrap" style="float: left">
                     <ul id="scrollMsg">
                    </ul>
                </div>
                <div id="time"></div>
            </li>
        </ul>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a href="" id="refresh">
                <i class="layui-icon layui-icon-refresh"></i></a>
            </li>

            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="../static/img/admin.jpg" class="layui-nav-img">
                    <span th:text="${session.teacher.t_name}"></span>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="#" data-id="0" class="site-demo-active"><i class="layui-icon layui-icon-user"></i> 基本资料</a>
                    </dd>
                    <dd><a href="#" data-url="/teacher/toUpdate" data-id="9" data-title="修改密码" class="site-demo-active"><i
                            class="layui-icon layui-icon-set"></i> 修改密码</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="../login.html" onclick="clearCookie()" id="logout"><i
                    class="layui-icon layui-icon-logout"></i>退出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black" style="padding-top: 150px">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item" id="userManage" style="text-align: center">
                    <a id="teacherqueryAllGrade" href="#" data-url="/teacher/queryAllGrade" data-id="1" data-title="查看成绩" class="site-demo-active"
                       data-type="tabAdd">
                        <i class="layui-icon layui-icon-username"></i>查看成绩
                    </a>
                </li>
                <li class="layui-nav-item" id="course" style="text-align: center">
                    <a href="#" data-url="https://www.xxx.com/" data-id="5" data-title="课程管理" class="site-demo-active"
                       data-type="tabAdd">
                        <i class="layui-icon layui-icon-read"></i> 课程管理
                    </a>
                </li>
                <li class="layui-nav-item" style="text-align: center">
                    <a href="javascript:;"><i class="layui-icon layui-icon-survey"></i> 作业管理</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="#" data-url="/task/allTask" data-id="13" data-title="作业列表"
                               class="site-demo-active">
                                <i class="layui-icon layui-icon-table"></i>作业列表
                            </a>
                        </dd>
                        <dd>
                            <a href="#" data-url="/task/saveTask" data-id="14" data-title="暂存作业"
                               class="site-demo-active">
                                <i class="layui-icon layui-icon-table"></i>暂存作业
                            </a>
                        </dd>
                        <dd>
                            <a href="#" data-url="/task/publishTask" data-id="10" data-title="发布作业"
                               class="site-demo-active">
                                <i class="layui-icon layui-icon-table"></i>发布作业
                            </a>
                        </dd>
                        <dd>
                            <a href="#" data-url="../teacher/selectAssignment2" data-id="12" data-title="批改作业"
                               class="site-demo-active">
                                <i class="layui-icon layui-icon-table"></i>批改作业
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body"
         style="background-size: 100% 100%    ">
        <!-- 内容主体区域 -->
        <div class="layui-tab layui-tab-card" lay-filter="demo" lay-allowclose="true" style="">
            <ul class="layui-tab-title" style="background-color: rgba(255,255,255,0.1)">
                <li class="layui-this" lay-id="0"><i style="font-size: smaller"
                                                     class="layui-icon layui-icon-circle-dot"></i>首页
                </li>
            </ul>
            <div class="layui-tab-content" style="height:400px">
                <div class="layui-tab-item layui-show">
                    <div style="padding-top: 100px;padding-left:400px;width: 300px">
                        <table class="layui-table" style="background-color:rgba(255,255,255,0.1);font-weight: bolder"
                               lay-skin="line">

                            <tr>
                                <td class="tableC1">用户名：</td>
                                <td class="tableC2" th:text="${session.teacher.t_name}">
                                </td>
                            </tr>
                            <tr>
                                <td class="tableC1">联系方式：</td>
                                <td class="tableC2">1008611
                                </td>

                            </tr>
                            <tr>
                                <td class="tableC1">邮箱：</td>
                                <td class="tableC2" >2502513332@qq.com
                                </td>

                            </tr>
                            <tr>
                                <td class="tableC1">备注：</td>
                                <td class="tableC2">有问题，欢迎联系；不喜勿喷！
                                </td>
                            </tr>
                            <tr>
                                <td class="tableC1">所属部门：</td>
                                <td class="tableC2">开发</td>
                            </tr>
                            <tr>
                                <td class="tableC1">上次登录时间：</td>
                                <td class="tableC2">2020-7-28
                                </td>
                            </tr>

                        </table>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        <div style="text-align: center">
            &copy;<a href="#">向量</a>作业管理系统
        </div>
    </div>
</div>
<script src="../static/js/jquery-3.3.1.js"></script>
<script src="../static/layui/layui.js"></script>
<script src="../static/js/home.js"></script>
<script>
    // $("#teacherqueryAllGrade").click(function () {
    //     $.ajax({
    //         url:"/teacher/queryAllGrade",
    //         success:function (data) {
    //            window.location.href("../gradeManagement.html")
    //         }
    //     })
    // })
</script>
<style>
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
</style>
<div class="copyrights" id="links20210126">
	Collect from <a href="http://www.cssmoban.com/"  title="网站模板">模板之家</a>
	<a href="https://www.chazidian.com/"  title="查字典">查字典</a>
</div>
</body>
</html>